/*
 * @Author: wangyu1
 * @Date: 2022-11-09 18:39:38
 * @Description: file content
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
    {
        path: '/form',
        component: () => import('@/views/表单封装/index.vue')
    },
    {
        path: '/gc',
        component: () => import('@/views/全局组件/index.vue')
    },
    {
        path: '/check',
        component: () => import('@/views/表单校验/index.vue')
    },
    {
        path: '/dynamicForm',
        component: () => import('@/views/动态表单/index.vue')
    },
    {
        path: '/pagination',
        component: () => import('@/views/本地分页/index.vue')
    },
    {
        path: '/dynamicSelect',
        component: () => import('@/views/select动态增减/index.vue')
    },
    {
        path: '/customComponents',
        component: () => import('@/views/自定义组件/index.vue')
    }
]
const router = new VueRouter({
    routes
})
export default router